package cn.iocoder.yudao.framework.business.basic.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 性别的枚举值
 *
 * @author 芋道源码
 */
@Getter
@AllArgsConstructor
public enum SexEnum implements EnumValuable {

    UNKNOWN(0,"保密"),
    MALE(1,"男"),
    FEMALE(2,"女");

    private final Integer value;
    private final String name;

    @Override
    public String toString() {
        return String.valueOf(this.value);
    }

}
